﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;

namespace Designit.Umbraco.Datatypes.YouTube
{
    public class PrevalueEditor : System.Web.UI.WebControls.PlaceHolder, umbraco.interfaces.IDataPrevalue
    {
        private umbraco.cms.businesslogic.datatype.BaseDataType dataType;

        public PrevalueEditor(umbraco.cms.businesslogic.datatype.BaseDataType DataType)
        {
            dataType = DataType;
        }
        
        public System.Web.UI.Control Editor
        {
            get { throw new NotImplementedException(); }
        }

        public void Save()
        {
            throw new NotImplementedException();
        }

        protected override void Render(HtmlTextWriter writer)
        {

            writer.WriteLine("<table>");

            writer.Write("<tr><th>Alme test:</th><td>");

            //_txtLimit.RenderControl(writer);

            writer.Write("</td></tr>");

            writer.Write("</table>");

        }

    }
}
